﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>首页 - 青苜网</title>
    <meta name="description"
          content="青青校园，苜苜春光！青苜招聘，轻敲你窗！青苜拥有专业的就业指导，精华的在线课程，特色的在线考试，创新性的信用评价系统，高端的吐槽专区等一站式服务。青苜最大的优势系统在于避免了招聘过程中各种繁琐的环节，架通了毕业生与企业之间求职的高速通道。青苜是最专业的应届毕业生就业指导平台，帮助应届毕业生走出学校、适应职场并逐步成为职场达人。">
    <meta name="keywords" content="为毕业生服务：为企业服务">
    <style type="text/css">
        .w-div-title span:nth-last-of-type(2) span:nth-last-of-type(1) {
            display: none;
        }

        .tab-left div:nth-last-child(1) {
            display: none;
        }

        .jyzfoot_ul ul {
            width: 500px;
        }

        .jyzfoot_ul ul li {
            float: left;
            letter-spacing: 1px;
            margin: 0px 20px;
            line-height: 45px;
        }
    </style>
    <link href="{{ asset('/addons/flatui/css/flat-ui.css') }}" rel="stylesheet">
    <link href="{{ asset('/addons/bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
    <link href="{{ asset('/addons/bootstrap-dialog/css/bootstrap-dialog.min.css') }}" rel="stylesheet" type="text/css"/>
    <!-- Fonts -->
    <link href="{{ asset('/js/Font-Awesome-3.2.1/css/font-awesome.min.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ asset('/css/common.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ asset('/css/front.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ asset('/css/style.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ asset('/css/posting.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ asset('/css/swiper.min.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ asset('/css/accord.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ asset('/css/employ/list.css') }}" rel="stylesheet" type="text/css"/>
    <link href="{{ asset('/css/employ/index.css') }}" rel="stylesheet" type="text/css"/>
    <link href="{{ asset('/css/common/jPages.css') }}" rel="stylesheet" type="text/css">
    <link href="{{ asset('/css/common/animate.min.css') }}" rel="stylesheet" type="text/css">
    <script src="{{ asset('/js/jquery-2.1.4.min.js') }}"></script>
    <!--[if lt IE 9]>
    <script src="{{ asset('/js/jquery-1.8.3.min.js') }}"></script>
    <![endif]-->
    <script src="{{ asset('/addons/flatui/js/flat-ui.min.js') }}"></script>
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=YBKGOH5A7sx4LNPUQXaEuVVR"></script>
    <script type="text/javascript" src="{{ asset('/addons/layer/layer.js') }}"></script>
    <script type="text/javascript" src="{{ asset('/js/common/jPages.js') }}"></script>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="{{ asset('/js/html5shiv.min.js') }}"></script>
    <script src="{{ asset('/js/respond.min.js') }}"></script>
    <![endif]-->
    <!-- <script src="http://www.cimo.net/addons/bootstrap/js/bootstrap.min.js"></script> -->
    <script src="{{ asset('/addons/bootstrap-dialog/js/bootstrap-dialog.min.js') }}"></script>
    <script src="{{ asset('/js/unslider.min.js') }}"></script>
    <script src="{{ asset('/js/community.js') }}"></script>
    <script src="{{ asset('/js/jquery.SuperSlide.2.1.1.js') }}"></script>
    <script src="{{ asset('/laravel-u-editor/third-party/zeroclipboard/ZeroClipboard.js') }}"></script>
    <script src="{{ asset('/js/swiper.min.js') }}"></script>
    <script src="{{ asset('/js/require.js') }}"></script>
    <script src="{{ asset('/js/app/config.js') }}"></script>
    <script src="{{ asset('/js/common.js') }}"></script>
    <script src="{{ asset('/js/common/common.js') }}"></script>
    <script src="{{ asset('/js/company/search.js') }}"></script>
    <link href="{{ asset('/css/company/jobs.css') }}" rel="stylesheet" type="text/css">

    {{-- 自定义--}}
    <link href="{{ asset('/css1/wbcs.css') }}" type="text/css" rel="stylesheet">
</head>
<body>
<div class="container" style="width:100%;padding:0;">
    <div class="header">
        <div class="header-main">
            <div class="logo float-l">
                <a href="{{ url('/') }}">
                    <img src="{{asset('/images/front/sy/logo.png')}}">
                </a>
            </div>
            <div class="header-content float-l">
                <div class="header-search">
                    <div id="jobs_searchsort">
                        <div class="selectedsort">
                            <span class="itemName" id="itemName" name="itemName">类别</span>
                            <span class="sortico"></span>
                        </div>
                        <div class="searchsortlist">
                            <div class="searchItem">文章</div>
                            <div class="searchItem">机构</div>
                            <div class="searchItem">课程</div>
                            <div class="searchItem">职位</div>
                            <div class="searchItem">企业</div>
                        </div>
                    </div>
                    <input type="text" id="jobs_keyword" style="width:77%;" name="keyword" placeholder="搜索课程、公司等关键词"
                           value=""/>
                    <input type="submit" id="jobs_searchbtn" value=""/>
                </div>
                <script type="text/javascript">JobsSearch();</script>
            </div>

            <!--**************************************************************注册**************************************************************-->

            <div class="header-user float-l margin-l-30">
                <!--<div style="display:inline-block;"><img src="{{asset('/picture/11.jpg')}}" style="margin-left:140px;">
                </div>-->
                <div class="down-trip float-r">
                    <img src="{{asset('/images/front/sy/xiala.png')}}" alt="">
                </div>
                <div class="float-r" style="display:inline-block;"
                     @if(empty($authuser)) onclick="ShowLogin('MyDiv','fade')"
                     @else @if($authuser->group_id == 2) onclick="CompanyUrl()"
                     @else onclick="MemberUrl()" @endif @endif >
                    @if(!empty($authuser))
                        <img src="{{ userlogo($authuser->id,'small') }}" alt=""
                             style="width:46px; height:43px;margin-left:30px; cursor:pointer;">
                    @else
                        <img src="{{asset('/images/front/sy/geren.png')}}" alt=""
                             style="width:46px; height:43px;margin-left:30px; cursor:pointer;">
                    @endif

                </div>
                <!--<div class="down-trip float-r">
                    <img src="{{asset('/images/front/sy/xiala.png')}}" alt="">
                </div>-->
                @if(!empty($authuser))
                    @if($authuser->group_id == 3)
                        <ul class="dropdown-menu-user">
                            <li><a href="{{url('/member/resume')}}"><i class="icon-user"></i>&nbsp;&nbsp;我的简历</a></li>
                            <li class="bodertop"><a href="{{url('/member/delivery')}}"><i class="icon-folder-close"></i>&nbsp;&nbsp;我的工作</a>
                            </li>
                            <li class="bodertop"><a href="{{url('/member/index')}}"><i class="icon-upload-alt"></i>&nbsp;&nbsp;我的上传</a>
                            </li>
                            <li class="bodertop"><a href="{{url('/member/comments/index')}}"><i
                                            class="icon-comments"></i>&nbsp;&nbsp;我的评论</a></li>
                            <li class="bodertop">
                                <a href="{{url('/member/message')}}">
                                    <i class="icon-envelope-alt"></i>&nbsp;&nbsp;我的私信
                                    <span class="badge">{{ $unread?:'' }}</span>
                                </a>
                            </li>
                            <li class="bodertop"><a href="{{url('/member/account')}}"><i class="icon-cogs"></i>&nbsp;&nbsp;账号设置</a>
                            </li>
                            <li class="bodertop"><a href="/logout"><i class="icon-off"></i>&nbsp;&nbsp;退出</a></li>
                        </ul>
                    @elseif($authuser->group_id == 2)
                        <ul class="dropdown-menu-user">
                            <li><a href="/company/center"><i class="icon-user"></i>&nbsp;&nbsp;企业管理</a></li>
                            <li class="bodertop"><a href="/company/center/jobs-all"><i class="icon-folder-close"></i>&nbsp;&nbsp;全部职位</a>
                            </li>
                            <li class="bodertop"><a href="/company/center/resume-all"><i class="icon-upload-alt"></i>&nbsp;&nbsp;全部简历</a>
                            </li>
                            <li class="bodertop"><a href="/company/center/comments-all"><i class="icon-comments"></i>&nbsp;&nbsp;全部评论</a>
                            </li>
                            <li class="bodertop clearfix">
                                <a href="/company/center/message">
                                    <i class="icon-envelope-alt"></i>&nbsp;&nbsp;全部私信
                                    <span class="badge">{{ $unread?:'' }}</span>
                                </a>
                            </li>
                            <li class="bodertop"><a href="/company/center/companyinfo-default"><i class="icon-cogs"></i>&nbsp;&nbsp;企业信息</a>
                            </li>
                            <li class="bodertop"><a href="/logout"><i class="icon-off"></i>&nbsp;&nbsp;退出</a></li>
                        </ul>
                    @elseif($authuser->group_id == 1)
                        <ul class="dropdown-menu-user">
                            <li><a href="{{url('/member/resume')}}"><i class="icon-user"></i>&nbsp;&nbsp;我的简历</a></li>
                            <li class="bodertop"><a href="{{url('/member/delivery')}}"><i class="icon-folder-close"></i>&nbsp;&nbsp;我的工作</a>
                            </li>
                            <li class="bodertop"><a href="{{url('/member/index')}}"><i class="icon-upload-alt"></i>&nbsp;&nbsp;我的上传</a>
                            </li>
                            <li class="bodertop"><a href="{{url('/member/comments/index')}}"><i
                                            class="icon-comments"></i>&nbsp;&nbsp;我的评论</a></li>
                            <li class="bodertop">
                                <a href="{{url('/member/message')}}">
                                    <i class="icon-envelope-alt"></i>&nbsp;&nbsp;我的私信
                                    <span class="badge">{{ $unread?:'' }}</span>
                                </a>
                            </li>
                            <li class="bodertop"><a href="{{url('/member/account')}}"><i class="icon-cogs"></i>&nbsp;&nbsp;账号设置</a>
                            </li>
                            <li class="bodertop"><a href="/admin/index"><i class="icon-cogs"></i>&nbsp;&nbsp;后台管理</a>
                            </li>
                            <li class="bodertop"><a href="/logout"><i class="icon-off"></i>&nbsp;&nbsp;退出</a></li>
                        </ul>
                    @endif
                @endif

            </div>
            <div class="clearfix"></div>
            <div id="fade" class="black_overlay"></div>
            <div class="flip-container white_content" id="MyDiv" ontouchstart="this.classList.toggle('hover');">
                <div class="login-div" id="login-div">
                    <div class="loginclose" onclick="CloseLogin('MyDiv','fade')"><i class="icon-remove"></i></div>
                    <div class="to-login" id="to-login">
                        <form action="" id="login-form-new">
                            <div class="form-group">
                                <input type="text" name="username" class="form-control" placeholder="邮箱／手机">
                            </div>
                            <div class="form-group">
                                <input type="password" name="password" class="form-control" placeholder="密码">
                            </div>
                            <div class="form-group">
                                <div class="col-sm-8">
                                    <div class="checkbox fl">
                                        <label>
                                            <input type="checkbox" name="is_remember"> <span>记住我</span>
                                        </label>
                                    </div>
                                </div>
                                <div class="col-sm-4 fr">
                                    <div class="foget-pwd"><a href="#">忘记密码？</a></div>
                                </div>
                                <div class="clearfix"></div>
                            </div>
                            {!! csrf_field() !!}
                            <div class="form-group mt10">
                                <button class="btn login-action" type="button" id="login-action-new">登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;陆</button>
                            </div>
                        </form>
                        <div class="form-group text-right">
                            <span>还没有青苜帐号</span>&nbsp;
                            <a href="javascript:void(0)" id="go-to-register">点击注册<i class="icon-double-angle-right"></i></a>
                        </div>
                    </div>
                </div>
                <div class="register-div" id="register-div">
                    <div class="loginclose" onclick="CloseLogin('MyDiv','fade')"><i class="icon-remove"></i></div>
                    <div class="to-login" id="to-register">
                        <form action="" id="register-form">
                            <div class="form-group">
                                <div class="register-tab active float-l" id="personal">
                                    我是人才
                                    <div class="register-checked"><img alt=""
                                                                       src="{{asset('/images/front/index/register-selected.png')}}">
                                    </div>
                                </div>
                                <div class="register-tab float-r" id="enterprise">
                                    我是企业
                                    <div class="register-checked" style="display: none"><img alt=""
                                                                                             src="{{asset('/images/front/index/register-selected.png')}}">
                                    </div>
                                </div>
                                <div class="clearfix"></div>
                            </div>
                            <input type="hidden" name="user_type" value="0">
                            {!! csrf_field() !!}
                            <div id="step_1">
                                <div class="form-group">
                                    <input type="text" name="username" class="form-control" placeholder="邮箱／手机">
                                </div>
                                <div class="form-group reg-small-group clearfix">
                                    <input type="text" name="verify_code" class="form-control float-l"
                                           placeholder="我不是机器人">
                                    <div class="float-r verify-img">
                                        <img src="{{asset('/captcha')}}"
                                             onclick="this.src='{{ url('captcha') }}?r='+Math.random();" width="100%"
                                             height='43' alt="点击刷新验证码">
                                    </div>
                                </div>
                                <div class="form-group reg-small-group clearfix">
                                    <input type="number" name="phone_code" class="form-control float-l"
                                           placeholder="请输入验证码">
                                    <button class="float-r curl-code selected" type="button" id="to_verify"
                                            onclick="getverify('register-form',0)">
                                        <span class="color-3 hide font-16" id="counter">60S</span>
                                        <span id="counter_cnt">获取验证码</span>
                                    </button>
                                </div>
                                <div class="form-group mt10">
                                    <button class="btn login-action" disabled="disabled" type="button" id="jump_next">下&nbsp;&nbsp;一&nbsp;&nbsp;步</button>
                                </div>
                            </div>
                            <div id="step_2" style="display:none">
                                <div class="form-group">
                                    <input type="password" name="password" class="form-control" placeholder="密码">
                                </div>
                                <div class="form-group">
                                    <input type="password" name="repassword" class="form-control" placeholder="确认密码">
                                </div>
                                <div class="form-group height-30">
                                    <div class="col-sm-10">
                                        <div class="checkbox fl">
                                            <label>
                                                <input type="checkbox" name="is_remember">
                                                <span>我已阅读并同意</span>
                                                <a href="#"><span class="color-green">《青苜用户协议》</span></a>
                                            </label>
                                        </div>
                                    </div>
                                    <div class="clearfix"></div>
                                </div>
                                <div class="form-group mt10">
                                    <button class="btn login-action" type="button" id="register-action">注&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;册</button>
                                </div>
                            </div>
                        </form>
                        <div class="form-group text-right"><span>已有青苜帐号？</span>&nbsp;<a href="javascript:void(0)"
                                                                                        id="go-to-login">立即登陆<i
                                        class="glyphicon glyphicon-chevron-right"></i></a></div>
                    </div>
                </div>
            </div>

        </div>
        <div class="employ-nav">
            <div class="category-nav float-l" id="ci_show">
                <div class="img1">
                    <img src="{{asset('/picture/object.jpg')}}">
                    <span class="all_cate" style="cursor:pointer;">全部课程</span>
                </div>
            </div>
            <div class="employ-nav-list">
                <ul>
                    <li class="curr active"><a href="/">首页</a></li>
                    <li><a href="{{ url('/employ/list') }}">就业指南</a></li>
                    <li><a href="{{ url('/teaches/list/1') }}">充电加油</a></li>
                    <li><a href="{{ url('/company/list?typeid=2') }}">企业招聘</a></li>
                    <li><a href="{{url('/bbs')}}">青苜社区</a></li>
                    <li style="margin-left:120px;"><img src="picture/14.jpg"><span
                                style=" color:#676767;">025-84707088</span></li>
                    <li><a href="tencent://message/?uin=3204752202&Site=site=local.cimo.cn&Menu=yes"><img
                                    src="picture/15.jpg"><span style=" color:#676767; ">QQ客服</span></a></li>
                    <div class="clearfix"></div>
                </ul>
            </div>
        </div>
    </div>


    <!-- 内容 -->
    <div class="main">

        <div class="banner" onMouseOver="preNextShow()" onMouseOut="preNextHide()">
        <ul>
            @foreach($banners as $banner)
            <li><img src="@if(count($banner->attachment->url)>0){{$banner->attachment->url}}@else{{ asset('/images/front/jyzn/bn.png') }}@endif" style=""></li>
            @endforeach
        </ul>
            <script type="text/javascript">
                $(function () {
                    var slidey = $('.banner').unslider({
                        speed: 500,
                        delay: 3000,
                        complete: function () {
                        },
                        keys: true,
                        dots: true,
                        fluid: false
                    });
                    data = slidey.data('unslider');
                    data.move(2, function () {
                    });
                    $(".banner").css('width', "100%");
                })


                $('#ci_show').click(function () {
                    $('#ci_content').animate({
                        height: 'toggle',
                        opacity: ['toggle', 'swing']
                    }, 200, function () {
                        // Animation complete.
                    });
                });
            </script>


            <div class="employ-category">
                <div class="employ-category-content">
                    <div class="category-list float-l" id="ci_content">
                        <ul>
                            @foreach($category as $key=>$cg)
                                <li class="border-top">
                                    <div class="category-employ">
                                        <div class="category-first">
                                            <div class="category-name float-l"> {{ $cg->cat_name }}</div>
                                            <div class="clearfix"></div>
                                        </div>
                                        <div class="category-child">
                                            @foreach($cg->indexOrderby->take(3) as $subc)

                                                <div class="category-name float-l">

                                                    <a href="{{ url( $subc->app=='teaches'?'/'.$subc->app.'/list/1?secondid='.$subc->pid.'&amp;lastid='.$subc->cat_id :'/'.$subc->app.'/list/?cateid='.$subc->pid.'&amp;secondid='.$subc->cat_id) }}">{{ $subc->cat_name }}</a>
                                                </div>
                                            @endforeach
                                        </div>

                                    </div>
                                </li>   @endforeach
                            <div class="clearfix"></div>
                        </ul>
                    </div>
                    <div class="unslider-arrow prev banner-previous float-l hide"></div>

                    <div class="unslider-arrow next float-r banner-next hide"></div>
                    <div class="clearfix"></div>
                    <script type="text/javascript">
                        var unslider = $('.banner').unslider();
                        $('.unslider-arrow').click(function () {
                            var fn = this.className.split(' ')[1];
                            //  Either do unslider.data('unslider').next() or .prev() depending on the className
                            unslider.data('unslider')[fn]();
                        });
                        function preNextShow() {
                            $(".unslider-arrow").removeClass('hide');
                        }
                        function preNextHide() {
                            $(".unslider-arrow").addClass('hide');
                        }
                    </script>
                </div>
            </div>
        </div>


        <div class="content margin-t-10">
            <div class="zxks">
			
                <div class="one">
                    <div class="include">
                        <div class="img"><img src="{{asset('/picture/6.jpg')}}" style="margin-left:10px;"></div>
                        <div class="wz">
                            <p style=" cursor:pointer; color:#535353; font-size:16px; font-weight:bold;"><a href="{{url('/exam/index.html')}}">证书认证考试</a></p>
                            <p style="color:#434343; font-size:14px;">在线学习，推荐工作</p>
                        </div>
                    </div>
                </div>
			
                <div class="xuxian"><img src="{{asset('/picture/xuxian.jpg')}}"></div>
               
				<div class="one">
                    <div class="include">
                        <div class="img"><img src="{{asset('/picture/7.jpg')}}"></div>
                        <div class="wz">
                            <p style=" color:#535353; font-size:16px; font-weight:bold;">青苜就业班</p>
                            <p style="color:#434343; font-size:14px;">在线学习，推荐工作</p>
                        </div>
                    </div>
                </div>
				
                <div class="xuxian"><img src="{{asset('/picture/xuxian.jpg')}}"></div>
                <a href="{{url('/exam/index.html')}}">
				<div class="one">
                    <div class="include">
                        <div class="img"><img src="{{asset('/picture/8.jpg')}}" style="margin-left:10px;"></div>
                        <div class="wz">
                            <p style=" color:#535353; font-size:16px; font-weight:bold;">公务员在线学习</p>
                            <p style="color:#434343; font-size:14px;">在线学习，推荐工作</p>
                        </div>
                    </div>
                </div>
				</a>
                <div class="xuxian"><img src="{{asset('/picture/xuxian.jpg')}}"></div>
             
				<div class="one1">
                    <div class="include1">
                        <div class="img1"><img src="{{asset('picture/9.jpg')}}" style="margin-left:40px";></div>
                        <div class="wz">
                            <p style=" color:#535353; font-size:16px; font-weight:bold;">实时社区问答</p>
                            <p style="color:#434343; font-size:14px;">在线学习，推荐工作</p>
                        </div>
                    </div>
                </div>
				
                <div class="clearfix"></div>
            </div>
            <!--栏目-->
            <div class=" margin-t-10">
                <div class="w-content">
                    <div class="w-div-title">
                        <img src="{{asset('/picture/green.jpg')}}">
                        <span style="color:#434343; font-size:16px; margin-left:5px;margin-right: 42px;"><a
                                    href="{{url('/teaches/list/1')}}">热门课程</a></span>
                        <!--@foreach($popular as $tlist)
                                <span style="color:#535353; font-size:14px;margin-left:8px;"> <a href="{{ url('/'.$tlist->app.'/list/1?secondid='.$tlist->pid.'&amp;lastid='.$tlist->cat_id) }}">{{$tlist->cat_name}}</a> <span style="margin-left:8px;">|</span></span>
                        @endforeach-->
                  <span class="more color-4 font-16">
                        <!--<count><a href="{{url('/teaches/list/1')}}">更多</a>&nbsp;<img src="{{asset('/picture/anniu.jpg')}}"></count>-->
                        <!-- <i class="icon-circle font-16 more-circle">
                          <i class="icon-angle-right more-right"></i>
                         </i>-->
                        <!--</a>-->
                        </span>
                    </div>
                    <div class="w-index-list">

                        @foreach($teachots as $key=>$hots)
                            <div class="employ-open-class1 float-l ">
                                <div class="employ-open-class-img ">
								    <div class="view view-first">
                                    <a href="{{url('/teaches/'.$hots->id)}}">
                                        <img width="223px" height="123px"
                                             src="@if(count($hots->attachment)>0){{$hots->attachment->url}}@else{{asset('/images/t-nopic.jpg')}}@endif">
                                    </a>
									</div>
                                </div>
                                <div class="employ-open-class-other mt-10">
                                    <p class="open-title"><a
                                                href="{{url('/teaches/'.$hots->id)}}">{{str_limit($hots->name,21)}}</a>
                                    </p>
                                    <div style="height:15px;"></div>
                                    <p>
                                        <a style="color:#434343;" href="{{url('/teaches/'.$hots->id)}}"><span
                                                    class="mf">{{ $hots->price == 0 ? '免费' : $hots->price.'积分' }}</span></a>
                                        <span>|</span>
                                        <a style="color:#434343;" href="{{url('/teaches/'.$hots->id)}}"><span
                                                    class="wxw">{{$hots->user->name}}</span></a>
                                    </p>
                                </div>
                            </div>
                        @endforeach

                    </div>


                    <div class="clearfix"></div>
                </div>
            </div>
        </div>


        <div class=" margin-t-10" style="background:#f8f8f8;">
            <div class="w-content">
                <div class="w-div-title">
                    <img src="{{asset('/picture/green.jpg')}}">
                    <span style="color:#434343; font-size:16px; margin-left:5px; margin-right: 42px;"><a
                                href="{{url('/employ/list')}}">就业指南</a></span>
                    @foreach($employlist as $tlist)
                        <span style="color:#535353; font-size:14px;margin-left:8px;"> <a
                                    href="{{ url('/'.$tlist->app.'/list?cateid='.$tlist->cat_id) }}" style="color:#434343;">{{$tlist->cat_name}}</a> <span
                                    style="margin-left:8px;">|</span></span>
                        @endforeach
                                <!--@foreach($popular as $tlist)
                                <span style="color:#535353; font-size:14px;margin-left:8px;"> <a href="{{ url('/'.$tlist->app.'/list/1?secondid='.$tlist->pid.'&amp;lastid='.$tlist->cat_id) }}">{{$tlist->cat_name}}</a> <span style="margin-left:8px;">|</span></span>
                        @endforeach-->
                  <span class="more color-4 font-16" style="margin-right:260px">
                        <count><a href="{{url('/employ/list')}}">更多&nbsp;</a><img src="{{asset('/picture/anniu.jpg')}}"></count>
                      <!--<i class="icon-circle font-16 more-circle">
                       <i class="icon-angle-right more-right"></i>
                      </i>-->
                        <!-- </a>-->
                        </span>
                </div>
                <div class="w-index-list1" >
                    <div class="pull-left">
                        @foreach ($hot_news as $key => $zn)
                            <div class="employ-open-class1 float-l">
                                <div class="employ-open-class-img">
								    <div class="view view-first">
                                    <a href="{{ url('/employ/'.$zn->id) }}">
                                        <img src="{{count($zn->attachment)>0?image_resize($zn->attachment->url,295,200):''}}"
                                             width="223px" height="123px">
                                    </a>
									</div>
                                    <div class="employ-img-title">
                                        <a href="{{ url('/employ/'.$zn->id) }}"><span
                                                    class="category-name">{{str_limit($zn->title,20)}}</span></a>
                                        <i class="icon-circle color-white font-8"></i><br/>
                                        <!--<a href="/employ/list?cateid={{count($zn->category->parentCate)>0?$zn->category->parentCate->cat_id:$zn->category->pid}}=&lastid={{$zn->category->cat_id}}">
                                            <span class="employ-name">{{$zn->category->cat_name}}</span>
                                        </a>-->
										<div style="height:27px;"></div>
                                    </div>
                                </div>
                                <div class="employ-open-class-other mt-10">
                                    <div class="employ-exts text-right float-l">
                                        <p style="font-size:12px;">
                                            <span class="color-orange">{{ $zn->reading_num}}</span>
                                            <span class="color-3" style="color:#8d8d8d;">阅读</span>&nbsp;|&nbsp;
                                            <span class="color-orange">{{ $zn->comment_num}}</span>
                                            <span class="color-3" style="color:#8d8d8d;">评论</span>&nbsp;|&nbsp;
                                            <span class="color-orange">{{ $zn->recommond_num}}</span>
                                            <span class="color-3" style="color:#8d8d8d;">收藏</span>
                                        </p>

                                    </div>
                                </div>
                            </div>
                        @endforeach
                        <div class="clearfix"></div>
                        <div style="height:10px;"></div>

                        @foreach ($hot_news2 as $key => $zn)
                            <div class="employ-open-class1 float-l">
                                <div class="employ-open-class-img">
								    <div class="view view-first">
                                    <a href="{{ url('/employ/'.$zn->id) }}">
                                        <img src="{{count($zn->attachment)>0?image_resize($zn->attachment->url,295,200):''}}"
                                             width="223px" height="123px">
                                    </a>
									</div>
                                    <div class="employ-img-title">
                                        <a href="{{ url('/employ/'.$zn->id) }}"><span
                                                    class="category-name">{{str_limit($zn->title,20)}}</span></a>
                                        <i class="icon-circle color-white font-8"></i><br/>
                                        <!--<a href="/employ/list?cateid={{count($zn->category->parentCate)>0?$zn->category->parentCate->cat_id:$zn->category->pid}}=&lastid={{$zn->category->cat_id}}">
                                            <span class="employ-name">{{$zn->category->cat_name}}</span>
                                        </a>-->
										<div style="height:27px;"></div>
                                    </div>
                                </div>
                                <div class="employ-open-class-other mt-10">
                                    <div class="employ-exts text-right float-l">
                                        <p style="font-size:12px; ">
                                            <span class="color-orange">{{ $zn->reading_num}}</span>
                                            <span class="color-3" style="color:#8d8d8d;">阅读</span>&nbsp;|&nbsp;
                                            <span class="color-orange">{{ $zn->comment_num}}</span>
                                            <span class="color-3" style="color:#8d8d8d;">评论</span>&nbsp;|&nbsp;
                                            <span class="color-orange">{{ $zn->recommond_num}}</span>
                                            <span class="color-3" style="color:#8d8d8d;">收藏</span>
                                        </p>

                                    </div>
                                </div>
                            </div>
                        @endforeach
                    </div>
                    <div style="width:220px; height:440px;float: left; background:#f8edd8;">
                        <div class="tx"><img src="{{asset('/picture/touxiang.jpg')}}" style="margin-top:10px;"></div>

                        <div class="title">
                            <p>社区热帖</p>

                        </div>
                        <div class="away">
                            <div class="away1">
                                @foreach($hotpost as $key=>$hotp)
                                    <p><img src="picture/dian.jpg"><a
                                                href="{{url('/bbs/'.$hotp->id)}}">{{str_limit($hotp->title,20)}}</a></p>
                                @endforeach
                            </div>
                        </div>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>


        <div class="margin-t-10" >
            <div class="w-content">
                <div class="w-div-title">
                    <img src="picture/green.jpg">
                    <span style="color:#727272; font-size:16px; margin-left:5px;margin-right: 42px;"><a
                                href="{{url('/teaches/list/1')}}">职业技能</a></span>
                    @foreach($popular as $tlist)
                        <span style="color:#434343; font-size:14px;margin-left:8px;"> <a
                                    href="{{ url('/'.$tlist->app.'/list/1?secondid='.$tlist->pid.'&amp;lastid='.$tlist->cat_id) }}" style="color:#434343;">{{$tlist->cat_name}}</a> <span
                                    style="margin-left:8px;">|</span></span>
                        @endforeach
                                <!--@foreach($teacheslist as $tlist)
                                <span style="color:#727272; font-size:14px;margin-left:8px;"> <a href="{{ url('/'.$tlist->app.'/list/1?secondid='.$tlist->cat_id) }}">{{$tlist->cat_name}}</a> <span style="margin-left:8px;">|</span></span>
                    @endforeach-->
                  <span class="more color-4 font-16" style="margin-right:260px;">
                        <count><a href="{{url('/teaches/list/1')}}">更多&nbsp;</a><img src="{{asset('/picture/anniu.jpg')}}"></count>
                      <!--<i class="icon-circle font-16 more-circle">
                       <i class="icon-angle-right more-right"></i>
                      </i>-->
                        </a>
                        </span>
                </div>
                <div class="w-index-list1">
                    <div class="pull-left">

                        @foreach($teaches as $teach)
                            <div class="employ-open-class1 float-l">
                                <div class="employ-open-class-img">
								    <div class="view view-first">
                                    <a href="{{ url('/teaches/'.$teach->id)}}">
                                        <img width="223px" height="123px"
                                             src="@if(count($teach->attachment)>0){{ $teach->attachment->url}}@else{{asset('/images/t-nopic.jpg')}}@endif">
                                    </a>
									</div>
                                </div>
                                <div class="employ-open-class-other mt-10">
                                    <p class="open-title"><a
                                                href="{{ url('/teaches/'.$teach->id)}}">{{str_limit($teach->name,21)}}</a>
                                    </p>
                                    <div style="height:15px;"></div>
                                    <p style="color:#8d8d8d;">
                                        <a style="color:#8d8d8d;" href="{{ url('/teaches/'.$teach->id)}}"><span
                                                    class="mf">{{ $teach->price == 0 ? '免费' : $teach->price.'积分' }}</span></a>
                                        <span>|</span>
                                        <a style="color:#8d8d8d;" href="{{ url('/teaches/'.$teach->id)}}"><span
                                                    class="wxw">{{ $teach->user->name }}</span></a>
                                    </p>
                                </div>
                            </div>
                        @endforeach
                        <div class="clearfix"></div>
                        <div style="height:10px;"></div>

                        @foreach($teaches2 as $teach)
                            <div class="employ-open-class1 float-l">
                                <div class="employ-open-class-img">
								    <div class="view view-first">
                                    <a href="{{ url('/teaches/'.$teach->id)}}">
                                        <img width="223px" height="123px"
                                             src="@if(count($teach->attachment)>0){{ $teach->attachment->url}}@else{{asset('/images/t-nopic.jpg')}}@endif">
                                    </a>
									</div>
                                </div>
                                <div class="employ-open-class-other mt-10">
                                    <p class="open-title"><a
                                                href="{{ url('/teaches/'.$teach->id)}}">{{str_limit($teach->name,21)}}</a>
                                    </p>
                                    <div style="height:15px;"></div>
                                    <p style="color:#8d8d8d;">
                                        <a style="color:#8d8d8d;" href="{{ url('/teaches/'.$teach->id)}}"><span
                                                    class="mf">{{ $teach->price == 0 ? '免费' : $teach->price.'积分' }}</span></a>
                                        <span>|</span>
                                        <a style="color:#8d8d8d;" href="{{ url('/teaches/'.$teach->id)}}"><span
                                                    class="wxw">{{ $teach->user->name }}</span></a>
                                    </p>
                                </div>
                            </div>
                        @endforeach
                    </div>
                    <!--<div style="width:220px; height:435px; float:left; background:#f8edd8;">
                        <div class="tx"><img src="{{asset('/picture/touxiang.jpg')}}" style="margin-top:10px;"></div>
                        <div class="title">
                            <p>如何绕开求职陷阱？</p>
                        </div>
                        <div class="away">
                            <div class="away2">
                                <p><img src="{{asset('/picture/dian.jpg')}}">创业项目选择八步法</p>
                                <p><img src="{{asset('/picture/dian.jpg')}}">创业项目选择八步法</p>
                                <p><img src="{{asset('/picture/dian.jpg')}}">创业项目选择八步法</p>
                                <p><img src="{{asset('/picture/dian.jpg')}}">创业项目选择八步法</p>
                                <p><img src="{{asset('/picture/dian.jpg')}}">创业项目选择八步法</p>
                            </div>
                        </div>
                    </div>-->
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        <script type="text/javascript">
            function showhidediv(id) {
                var age = document.getElementById("msg_2");
                var name = document.getElementById("msg_1");
                if (id == 'name') {
                    if (name.style.display == 'none') {
                        age.style.display = 'none';
                        name.style.display = 'block';
                    }
                } else {
                    if (age.style.display == 'none') {
                        name.style.display = 'none';
                        age.style.display = 'block';
                    }
                }
            }
        </script>
        <div class="margin-t-10" style="background:#f8f8f8;">
            <div class="w-content"  >
                <ul class="w-div-title" role="tablist">

                    <img src="{{asset('/picture/green.jpg')}}">
                    <span style="color:#727272; font-size:16px; margin-left:5px;">企业招聘</span>

                    <li role="presentation" class="active"><a id="rmzw" href="#home" aria-controls="home" role="tab"
                                                              data-toggle="tab"><span
                                    style="margin-left:50px;color:#727272; font-size:14px;">热门职位</span></a></li>

                    <span style="margin-left:4px; color:#898989; font-size:0.8em;">|</span>

                    <li role="presentation"><a id="rmqy" href="#profile" aria-controls="profile" role="tab"
                                               data-toggle="tab"><span
                                    style="color:#727272; font-size:14px;margin-left:8px;">热门企业</span></a></li>


  <span class="more color-4 font-16">
                       <count><a id="agd" href="{{url('/company/')}}">更多&nbsp;</a><img src="{{asset('/picture/anniu.jpg')}}">
                       </count>
      <!--<i class="icon-circle font-16 more-circle">
       <i class="icon-angle-right more-right"></i>
      </i>-->
      </a>
                  </span>
                </ul>
		<script type="text/javascript">
		
		    document.getElementById("rmqy").onclick =function(){
			  
			document.getElementById('agd').href="{{url('/company/list?typeid=2')}}";
		   }
		    document.getElementById("rmzw").onclick =function(){
			  
			document.getElementById('agd').href="{{url('/company/list?typeid=1')}}";
		   }
		</script				
                <!-- Tab panes -->
                <div class="tab-content">
                    <!--<div role="tabpanel" class="tab-pane active clearfix" id="home">

                     <div class="tab-left" style="width:520px; height:426px; float:left; margin-top:20px; ">
	                  @foreach($hotjobs as $key2=>$jobs)
                            <p>
                           <a href="{{ url('/company/detail?typeid=1&jobsid='.$jobs->jobs_id) }}" target="_blank" class="fl wordCut">{{str_limit( $jobs->title,12)}}</a>
						<span style="margin-left:8px;">[{{ $jobs->areas->title }}]</span>
						<span style="margin-left:8px;">{{ date('Y-m-d',strtotime($jobs->created_at))}}</span>
						<span style="float:right">{{str_limit($jobs->company->name,26)}}</span>
						</p>
						<p>
						<span>经验{{ $jobs->gznx_name }}</span> /
						<span>{{ $jobs->degree_name }}</span>
						</p>
						<div class="hr"><img src="{{asset('/picture/hr.png')}}"></div>
					  @endforeach
                            </div>

                           <div class="tab-left" style="width:520px; height:426px; float:left; margin-top:20px; margin-left:160px; ">
                               @foreach($hotjobs2 as $key=>$jobs)
                            <p>
                            <a href="{{ url('/company/detail?typeid=1&jobsid='.$jobs->jobs_id) }}" target="_blank" class="fl wordCut">{{ str_limit($jobs->title,14)}}</a>
						<span style="margin-left:8px;">[{{ $jobs->areas->title }}]</span>
						<span style="margin-left:8px;">{{ date('Y-m-d',strtotime($jobs->created_at))}}</span>
						<span  style="float:right">{{str_limit($jobs->company->name,26)}}</span>
						</p>
						<p>
						<span>经验{{ $jobs->gznx_name }}</span> /
						<span>{{ $jobs->degree_name }}</span>
						</p>
						<div class="hr"><img src="{{asset('/picture/hr.png')}}"></div>
						  @endforeach
                            </div>
                              </div>-->

                    <!--*********************************** 热门企业***********************************-->
                    <div role="tabpane2" class="tab-pane  clearfix" id="profile">
                        <div class="tab-left" style="width:1220px; height:550px; margin-top:20px; ">
                            <!--{{var_dump ($comdetail1)}}-->
                            @foreach( $comdetail1 as $cdetail)
                                @if($cdetail->id)
                                    <div class="col-xs-4 col-sm-4 col-md-4 mb20">
                                        <div class="hot-company-logo">
                                            <a href="{{url('/company/detail?typeid=2&comid='.$cdetail->id) }}"
                                               target="_blank" title="{{$cdetail->name}}">
                                                <img src="{{ $cdetail->logo }}" width="100%" height="160px"/>
                                            </a>
                                        </div>
                                        <p class="hot-company-infot">
                                            <span class="fl fs18 cp"
                                                  title="{{$cdetail->name}}">{{ str_limit($cdetail->name, 16) }}</span>
                                            <span class="fr c9">@if($cdetail->comtype_name){{$cdetail->comtype_name}} @endif</span>
                                        </p>
                                        <p class="hot-company-infom">
                                            正在招聘
                                            <span class="cf">{{count($cdetail->jobsinfo)?:0}}&nbsp;</span>个职位
                                        </p>
                                        <p class="hot-company-infob">

                                        </p>
                                        <em></em>
                                    </div>
                                @endif
                            @endforeach

                        </div>
                    </div>

                    <!--***********************************热门职位*************************-->

                    <div role="tabpanel" class="tab-pane active clearfix" id="home">
                        <div class="tab-left" style="width:520px; height:426px; float:left; margin-top:20px; ">
                            @foreach($hotjobs as $key=>$jobs)
                                <p>
                                    <a href="{{ url('/company/detail?typeid=1&jobsid='.$jobs->jobs_id) }}"
                                       target="_blank" class="fl wordCut">{{str_limit( $jobs->title,12)}}</a>
                                    <span style="margin-left:8px;">[{{ $jobs->areas->title }}]</span>
                                    <span style="margin-left:8px;">{{ date('Y-m-d',strtotime($jobs->created_at))}}</span>
                                    <span style="float:right">{{str_limit($jobs->company->name,26)}}</span>
                                </p>
                                <p>
                                    <span>经验{{ $jobs->gznx_name }}</span> /
                                    <span>{{ $jobs->degree_name }}</span>
                                </p>
                                <div class="hr"><img src="{{asset('/picture/hr.png')}}"></div>
                            @endforeach
                        </div>

                        <div class="tab-left"
                             style="width:520px; height:426px; float:left; margin-top:20px; margin-left:130px; ">
                            @foreach($hotjobs2 as $key2=>$jobs2)
                                <p>
                                    <a href="{{ url('/company/detail?typeid=1&jobsid='.$jobs2->jobs_id) }}"
                                       target="_blank" class="fl wordCut">{{ str_limit($jobs2->title,14)}}</a>
                                    <span style="margin-left:8px;">[{{ $jobs2->areas->title }}]</span>
                                    <span style="margin-left:8px;">{{ date('Y-m-d',strtotime($jobs2->created_at))}}</span>
                                    <span style="float:right">{{str_limit($jobs2->company->name,26)}}</span>
                                </p>
                                <p>
                                    <span>经验{{ $jobs2->gznx_name }}</span> /
                                    <span>{{ $jobs2->degree_name }}</span>
                                </p>
                                <div class="hr"><img src="{{asset('/picture/hr.png')}}"></div>
                            @endforeach
                        </div>
                    </div>

                </div>

            </div>
        </div>

        <div style="height:140px; background:#f8f8f8"></div>
        <div style="clear:both;"></div>
        <!-- 底部 -->

        <div class="margin-t-10" style="background-color: #fff;">
            <div class="footer" style="background-color: #fff;" >
                <div class="footer-icon">
                    <div class="footer-icon-share">
                        <div id="show-weibo-img" class="fl" style="cursor: pointer;" onclick="WeiBoUrl()">
                            <img src="{{asset('/images/front/newweibo.png')}}">
                        </div>
                        <div id="show-weixin-img" class="fr" style="cursor: pointer;">
                            <img src="{{asset('/images/front/newweixin.png')}}">
                            <img id="weixin-img" src="{{asset('/images/front/wxcode.png')}}">
                        </div>
                        <div class="clr"></div>
                    </div>
                </div>
                <div class="footer-links">
                    <ul>
                        <li><a href="{{url('/content/about')}}">关于我们</a></li>
                        <li><a href="{{url('/content/join')}}">合作加盟</a></li>
                        <li><a href="{{url('/content/contact')}}">联系我们</a></li>
                        <li><a href="{{url('/content/news')}}">新闻</a></li>
                        <li><a href="{{url('/content/links')}}">友情链接</a></li>
                        <div class="clearfix"></div>
                    </ul>
                </div>

                <div class="footer-copy">
                    <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
                        document.write(unescape("%3Cspan id='cnzz_stat_icon_1257700595'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/z_stat.php%3Fid%3D1257700595%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
                    <span>&copy;2015 Cimers 使用青苜前必读 苏ICP备15006600号-3</span>
                </div>
            </div>
        </div>

        <script type="text/javascript">
            $(function () {
                $('#nav ul').find('li').attr('class', 'curr').removeClass('curr');
                $('#nav ul li').eq('1').attr('class', 'curr');
            });
        </script>
        <!--弹出透明框开始-->

        <div class="alertDiv" style="display:none">
            <div class="jyz_seekdiv">
                <div class="seekdiv_top">
                    <div class="bgnav">
                        <ul>

                        </ul>
                    </div>
                    <div class="alertClose"><img src="{{asset('/images/front/jyz/X.png')}}"></div>
                </div>
                <div class="jyz_seek">
                    <input type="text" name="search" class="inp_key" id="teaches_keyword">
                    <img id="teaches_searchbtn" style="cursor: pointer;" src="{{asset('/images/front/jyz/fdj.png')}}">
                </div>
                <script type="text/javascript">JobsSearch();</script>
                <div class="jyz_navdiv">
                    <div class="jyz_navlist">
                        <p><a href="{{url('/teaches/list/1?kw=Word')}}" style="color: #fff" hidefocus="true">Word</a>
                        </p>
                        <p><a href="{{url('/teaches/list/1?kw=Photo')}}" style="color: #fff" hidefocus="true">Photo</a>
                        </p>
                        <p><a href="{{url('/teaches/list/1?kw=Excel')}}" style="color: #fff" hidefocus="true">Excel</a>
                        </p>
                        <p><a href="{{url('/teaches/list/1?kw=Power')}}" style="color: #fff" hidefocus="true">Power</a>
                        </p>
                    </div>
                    <div class="jyz_navlist">
                        <p><a href="{{url('/teaches/list/1?kw=Win')}}" style="color: #fff" hidefocus="true">Win</a></p>
                        <p><a href="{{url('/teaches/list/1?kw=网络')}}" style="color: #fff" hidefocus="true">网络</a></p>
                        <p><a href="{{url('/teaches/list/1?kw=小技巧')}}" style="color: #fff" hidefocus="true">小技巧</a></p>
                        <p><a href="{{url('/teaches/list/1?kw=装修')}}" style="color: #fff" hidefocus="true">装修</a></p>
                    </div>
                    <div class="jyz_navlist">
                        <p><a href="{{url('/teaches/list/1?kw=建筑')}}" style="color: #fff" hidefocus="true">建筑</a></p>
                        <p><a href="{{url('/teaches/list/1?kw=桥梁')}}" style="color: #fff" hidefocus="true">桥梁</a></p>
                        <p><a href="{{url('/teaches/list/1?kw=CAD')}}" style="color: #fff" hidefocus="true">CAD</a></p>
                        <p><a href="{{url('/teaches/list/1?kw=土建')}}" style="color: #fff" hidefocus="true">土建</a></p>
                    </div>
                    <div class="jyz_navlist">
                        <p><a href="{{url('/teaches/list/1?kw=Oracle')}}" style="color: #fff"
                              hidefocus="true">Oracle</a></p>
                        <p><a href="{{url('/teaches/list/1?kw=存储')}}" style="color: #fff" hidefocus="true">存储</a></p>
                        <p><a href="{{url('/teaches/list/1?kw=经济')}}" style="color: #fff" hidefocus="true">经济</a></p>
                        <p><a href="{{url('/teaches/list/1?kw=微观')}}" style="color: #fff" hidefocus="true">微观</a></p>
                    </div>
                </div>
            </div>

        </div>
</body>
</html>